<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>  
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  <title>社交/新增</title>
  <%@ include file="../link_script.jsp" %>
  <script type="text/javascript">
    $(function() { 
      $("form").validity(function() {
        $("#socialName").require();
      });
    });
  </script>
</head>
<body> 
<form action="social.do?method=addSocial_Do" method="post" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@ include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#b5d6e6">       
          <tr>
            <td width="100%" class="STYLE32">新增社交</td>
          </tr>
          <tr>
            <td class="STYLE1"><table width="100%" border="0" bordercolor="#b5d6e6" cellpadding="0" cellspacing="0">
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;社交名称 : </td>
                <td class="STYLE11"><input type="text" id="socialName" name="socialName" size="30" title="社交名称不能为空" /></td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;消费日期 : </td>
                <td class="STYLE11"><input type="text" id="socialDate" name="socialDate" value="${socialDate}" size="10" />
               &nbsp;&nbsp;<font color="red">*</font>&nbsp;&nbsp; 消费日期，消费日期在结算时作为流水账的记账日期。</td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;消费类型 :</td>
                <td class="STYLE11" >
                <select id="socialType" name="socialType">
                  <option value="1">请客</option>
                  <option value="0">礼品</option>                   
                </select>
                </td>
              </tr>
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;费用: </td>
                <td class="STYLE11" ><input type="text" id="socialExpense" name="socialExpense" value="0.00" size="10" />&nbsp;￥</td>
              </tr>        
              <tr>
                <td class="STYLE51">&nbsp;&nbsp;描述 : </td>
                <td class="STYLE11"><textarea id="socialDesc" name="socialDesc" cols="54" rows="4" style="font-family:宋体;font-size:12px"></textarea></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="20" class="STYLE12"><input type="submit" value="提交"/><input type="reset" value="取消"/></td>
          </tr>
        </table></td>
        <td width="8" background="images/tab_15.gif" align="right">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@ include file="../no_page.jsp"%>
</table>
</form>
</body>
</html>
